class WTFEquipShotgun extends Shotgun;

function bool AllowReload()
{
	local KFPlayerReplicationInfo KFPRI;
	local WTFEquipShotgunFire FM0;
	
	KFPRI = KFPlayerReplicationInfo(Instigator.PlayerReplicationInfo);
//	if (KFPRI == none || !(KFPRI.ClientVeteranSkill == Class'SRVetSupportSpec' || KFPRI.ClientVeteranSkill == Class'SRVetCommando') )
//		return false;
			
	if (bIsReloading) //doubletap reload to switch shell types anytime you can reload
	{
		FM0 = WTFEquipShotgunFire(FireMode[0]);
		
		if ( FM0.GetShellType() == 1 )
		{
			PlayerController(Instigator.Controller).ReceiveLocalizedMessage(class'UnitedMut_v54.WTFEquipBoomstickSwitchMessage',0); //loading slugs
			FM0.SetShellType(0);
		}
		else
		{
			PlayerController(Instigator.Controller).ReceiveLocalizedMessage(class'UnitedMut_v54.WTFEquipBoomstickSwitchMessage',1); //loading shot
			FM0.SetShellType(1);
		}
		return false;
	}
	
	return super(KFWeapon).AllowReload();
}

defaultproperties
{
     FireModeClass(0)=Class'UnitedMut_v54.WTFEquipShotgunFire'
     Description="A deadly weapon"
     PickupClass=Class'UnitedMut_v54.WTFEquipShotgunPickup'
}
